package com.zwt.controller;


import com.zwt.model.TAccountUser;
import com.zwt.service.TAccountUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * Created by zwt on 2018/9/5.
 */
@Controller
@RequestMapping("/base-server/user")
public class TAccountUserController {

    @Autowired
    private TAccountUserService tAccountUserService;


    @RequestMapping("queryById")
    @ResponseBody
    public TAccountUser queryById(@RequestParam Long id){
        TAccountUser tAccountUser = tAccountUserService.queryById(id);
        return tAccountUser;
    }


    



}
